package com.medicine.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.medicine.common.base.AutoEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("tb_role")
public class Role extends AutoEntity<Role> {

    @ApiModelProperty(value = "角色名称", name = "name")
    private String name;

    @ApiModelProperty(value = "排序", name = "sort")
    private Integer sort;

    @ApiModelProperty(value = "权限字符", name = "authority")
    private String authority;

    @ApiModelProperty(value = "组织id", name = "orgId")
    private String orgId;

}
